package com.itheima.dao.impl;

import com.itheima.dao.BookDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @author Xiao
 * @date 2021/9/12
 */
@Repository("bookDao04")
public class BookDaoImpl04 implements BookDao {
    @Value("${age}")
    private Integer age;

    @Override
    public void save() {
        System.out.println("BookDaoImpl04 save..." + age);
    }
}
